from fastapi import APIRouter
#?
from app.webapp.show_getInvitation import router as show_getInvitation_router
from app.webapp.show_resource_data import router as show_resource_data_router
#
from app.router.token import router as token_router
from .platform.history import router as history_router
from .platform.intra_task import router as intra_task_router
from .platform.invitation import router as invitation_router
from .platform.registration import router as registration_router
from .platform.routine import router as routine_router
from .update_resource import router as update_resource_data_router
#
from app.webapp.show_agent_merchants import router as show_agent_merchants_router
__all__ = "v2"

# API 1.0
v2 = APIRouter()
v2.include_router(token_router)
v2.include_router(history_router)
v2.include_router(registration_router)
v2.include_router(routine_router)
v2.include_router(invitation_router)
v2.include_router(intra_task_router)
v2.include_router(update_resource_data_router)
# ?
v2.include_router(show_getInvitation_router)
v2.include_router(show_resource_data_router)
# 代理用户和资源
v2.include_router(show_agent_merchants_router)

